<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">添加/编辑</h4>
            </div>
            <div class="modal-body">
                <form id="form">
                    <div class="form-group">
                        <label for="dialog_title">标题</label>
                        <input name="title" type="text" class="form-control" id="dialog_title" placeholder="请输入标题"
                        >
                    </div>
                    <div class="form-group">
                        <label for="dialog_url">网址</label>
                        <input name="url" type="text" class="form-control" id="dialog_url" placeholder="请输入网址"
                               value="http://">
                    </div>
                    <div class="form-group">
                        <label for="dialog_access_time_interval">访问间隔(秒)</label>
                        <input name="interval" type="text" class="form-control" id="dialog_access_time_interval" placeholder="请输入访问间隔"
                               value="5">
                    </div>
                    <div class="form-group">
                        <label for="dialog_time_out">超时时间(秒)</label>
                        <input name="time_out" type="text" class="form-control" id="dialog_time_out" placeholder="请输入超时时间"
                               value="10">
                    </div>
                    <div class="form-group">
                        <label for="dialog_access_time">访问时间(秒)(1:全部)否则(20:00:00-23:59:59)</label>
                        <input name="access_time" type="text" class="form-control" id="dialog_access_time"
                               placeholder="请输入访问时间(1:全部)否则(20:00:00-22:00:00)"
                               value="1">
                    </div>
                    <input name="id" type="hidden" value="-1" id="dialog_id">
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="submit" class="btn btn-primary" id="submit_save">保存</button>
            </div>
        </div>
    </div>
</div>